import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { CompanyModule } from "src/modules/company/company.module";
import { BankController } from "./bank.controller";
import { Bank } from "./bank.entity";
import { BankService } from "./bank.service";

@Module({
  imports: [TypeOrmModule.forFeature([Bank]), CompanyModule],
  controllers: [BankController],
  providers: [BankService],
  exports: [BankService],
})
export class BankModule {}
